﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OutOfUnity
{
    public interface ISocket
    {
        void update();
        bool connect(String ip, int port);
        bool close();
        int send(byte[] buffer, int size);
        int receive(byte[] buffer);
        String getError();
        bool isConnect();
    }
}
